import request from "./request" // 引入
 /*
  @孙志豪
    获取数据轮播图数据
 */
 
 
export const getBanner = ()=> request({url:'public/v1/home/swiperdata'})

// 获取分类导航的数据

export const getClassIfyData = ()=> request({url:'public/v1/home/catitems'})

// 获取楼层数据

export const getFloordata = ()=> request({url:'public/v1/home/floordata'})

// 获取用户的token

export const getUserToken = (params)=> request({
  url:'public/v1/users/wxlogin',methed:'POST',data:params
})

// 获取用户的信息

export const getorder = (params)=> request({
  url:'public/v1/users/wxlogin',methed:'POST'
})